from django.conf.urls import patterns, url
from django.contrib.auth.views import login, logout 
from accounts import views

urlpatterns = patterns('',
   (r'^register/?$', views.register, {}),
   (r'^user_profile/?$', views.user_profile, {}),
   (r'^edit_profile/?$', views.edit_profile, {}),
   (r'^login/?$', login, {'template_name':'login.html', 'redirect_field_name':'redirect_url'}),
   (r'^logout/?$', logout, {'next_page':'/'}),
)

